import Vue from 'vue'

import App from './App'
import store from './store'
import router from './router'
import directive from './directive' // directive
import plugins from './plugins' // plugins
import utils from './utils'
import dictC from './utils/dict/simple'
import './router/permission' // permission control
import components from './components'

Vue.use(components)
Vue.use(directive)
Vue.use(plugins)
Vue.use(utils)
Vue.use(dictC)

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
